/**
 * 
 */
package com.feib.stms.model;

import java.util.Date;

/**
 * @author Jeff Gu
 *
 */
public class TempUser extends AuditEntity{
	

	private static final long serialVersionUID = 4245584326875263816L;
	
	

    /**
     * 使用者帳號狀態-放行成功
     */
    public static final String USER_STATUS_CONFIRM_Y = "Y";

    /**
     * 使用者帳號狀態-放行失敗
     */
    public static final String USER_STATUS_CONFIRM_N = "N";

    /**
     * 交易紀錄狀態-新增
     */
    public static final String USER_RECORD_SATAUS_ADD_MODE = "A";
    
    /**
     * 交易紀錄狀態-維護
     */    
    public static final String USER_RECORD_SATAUS_UPDATE_MODE = "U";
    
    /**
     * 交易紀錄狀態-刪除
     */
    public static final String USER_RECORD_SATAUS_DELETE_MODE = "D";
    
	

	/**
     * PK in Table
     */
	private Long tempUserPk;
	
	private User  user = new User();
	
	
	/**
	 * CONFIRM_USER_PK Varchar2(10),
	 */
	private Long confirmUserPk;
	
	 /**
     * 使用者帳號狀態<br>
     * null: 待放行<br>
     * Y: 放行<br>
     * N: 退回<br>
     */
	private String confirmStatus;
	
	/**
	 * CONFIRM_DATE Varchar2(30)
	 */
	private Date confirmDate;
	

    /**
     * 交易紀錄狀態<br>
     * A: 新增<br>
     * U: 更新<br>
     * D: 刪除<br>
     */
    private String recordStatus;
	

	/**
	 * @param tempUserPk 的設定的 tempUserPk
	 */
	public void setTempUserPk(Long tempUserPk) {
		this.tempUserPk = tempUserPk;
	}

	/**
	 * @return tempUserPk
	 */
	public Long getTempUserPk() {
		return tempUserPk;
	}
	
	/**
	 * @return group
	 */
	public Group getGroup() {
		return user.getGroup();
	}

	/**
	 * @param group 的設定的 group
	 */
	public void setGroup(Group group) {
		user.setGroup(group);
	}

	/**
	 * @return userEmail
	 */
	public String getUserEmail() {
		return user.getUserEmail();
	}

	/**
	 * @param userEmail 的設定的 userEmail
	 */
	public void setUserEmail(String userEmail) {
		user.setUserEmail(userEmail);
	}

	/**
	 * @return userId
	 */
	public String getUserId() {
		return user.getUserId();
	}

	/**
	 * @param userId 的設定的 userId
	 */
	public void setUserId(String userId) {
		user.setUserId(userId);
	}

	/**
	 * @return userName
	 */
	public String getUserName() {
		return user.getUserName();
	}

	/**
	 * @param userName 的設定的 userName
	 */
	public void setUserName(String userName) {
		user.setUserName(userName);
	}

	/**
	 * @return userNote
	 */
	public String getUserNote() {
		return user.getUserNote();
	}

	/**
	 * @param userNote 的設定的 userNote
	 */
	public void setUserNote(String userNote) {
		user.setUserNote(userNote);
	}

	/**
	 * @return userPhoneNo
	 */
	public String getUserPhoneNo() {
		return user.getUserPhoneNo();
	}

	/**
	 * @param userPhoneNo 的設定的 userPhoneNo
	 */
	public void setUserPhoneNo(String userPhoneNo) {
		user.setUserPhoneNo(userPhoneNo);
	}



	/**
	 * @return userPwd
	 */
	public String getUserPwd() {
		return user.getUserPwd();
	}

	/**
	 * @param userPwd 的設定的 userPwd
	 */
	public void setUserPwd(String userPwd) {
		user.setUserPwd(userPwd);
	}

	
	public String getCreatedBy() {
		return user.getCreatedBy();
	}

	public Date getCreatedDate() {
		return user.getCreatedDate();
	}
	
	public String getUpdatedBy() {
		return user.getUpdatedBy();
	}

	public Date getUpdatedDate() {
		return user.getUpdatedDate();
	}



	public void setCreatedBy(String createdBy) {
		user.setCreatedBy(createdBy);
	}

	public void setCreatedDate(Date createdDate) {
		user.setCreatedDate(createdDate);
	}

	public void setUpdatedBy(String updatedBy) {
		user.setUpdatedBy(updatedBy);
	}

	public void setUpdatedDate(Date updatedDate) {
		user.setUpdatedDate(updatedDate);
	}
	

	/**
	 * @return confirmUserPk
	 */
	public Long getConfirmUserPk() {
		return confirmUserPk;
	}

	/**
	 * @param confirmUserPk 的設定的 confirmUserPk
	 */
	public void setConfirmUserPk(Long confirmUserPk) {
		this.confirmUserPk = confirmUserPk;
	}

	/**
	 * @param confirmStatus 的設定的 confirmStatus
	 */
	public void setConfirmStatus(String confirmStatus) {
		this.confirmStatus = confirmStatus;
	}

	/**
	 * @return confirmStatus
	 */
	public String getConfirmStatus() {
		return confirmStatus;
	}

	/**
	 * @param confirmDate 的設定的 confirmDate
	 */
	public void setConfirmDate(Date confirmDate) {
		this.confirmDate = confirmDate;
	}

	/**
	 * @return confirmDate
	 */
	public Date getConfirmDate() {
		return confirmDate;
	}

	public Integer getCaptchaErrorTime() {
		return user.getCaptchaErrorTime();
	}

	public void setCaptchaErrorTime(Integer captchaErrorTime) {
		user.setCaptchaErrorTime(captchaErrorTime);
	}

	public String getCertificateKey() {
		return user.getCertificateKey();
	}

	public void setCertificateKey(String certificateKey) {
		user.setCertificateKey(certificateKey);
	}

	public String getDealSecuritiesNos() {
		return user.getDealSecuritiesNos();
	}

	public void setDealSecuritiesNos(String dealSecuritiesNos) {
		user.setDealSecuritiesNos(dealSecuritiesNos);
	}

	public Boolean getEnabled() {
		return user.getEnabled();
	}

	public void setEnabled(Boolean enabled) {
		user.setEnabled(enabled);
	}

	public Date getLastLogingDate() {
		return user.getLastLoginDate();
	}

	public void setLastLogingDate(Date lastLogingDate) {
		user.setLastLoginDate(lastLogingDate);
	}

	public Boolean getLocked() {
		return user.getLocked();
	}

	public void setLocked(Boolean locked) {
		user.setLocked(locked);
	}

	public Integer getPwdErrorTime() {
		return user.getPwdErrorTime();
	}

	public void setPwdErrorTime(Integer pwdErrorTime) {
		user.setPwdErrorTime(pwdErrorTime);
	}

	public Date getPwdExpiredDate() {
		return user.getPwdExpiredDate();
	}

	public void setPwdExpiredDate(Date pwdExpiredDate) {
		user.setPwdExpiredDate(pwdExpiredDate);
	}

	public String getPwdHistory() {
		return user.getPwdHistory();
	}

	public void setPwdHistory(String pwdHistory) {
		 user.setPwdHistory(pwdHistory);
	}



	public Securities getSecurities() {
		return user.getSecurities();
	}

	public void setSecurities(Securities securities) {
		user.setSecurities(securities);
	}



	/**
	 * @param recordStatus 的設定的 recordStatus
	 */
	public void setRecordStatus(String recordStatus) {
		this.recordStatus = recordStatus;
	}

	/**
	 * @return recordStatus
	 */
	public String getRecordStatus() {
		return recordStatus;
	}

	/**
	 * @return user
	 */
	public User getUser() {
		return user;
	}

	/**
	 * @param user 的設定的 user
	 */
	public void setUser(User user) {
		this.user = user;
	}
	
	
}
